//
//  CellOfContent.h
//  PetAPP
//
//  Created by dllo on 16/1/26.
//  Copyright © 2016年 Yuming. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModelOfContent.h"
#import <YYWebImage.h>

@class ModelOfContent;


@interface CellOfContent : UICollectionViewCell

/** 作者照片 */
@property (nonatomic, retain) UIImageView *imageViewOfAuthorFace;
/** 作者名字 */
@property (nonatomic, retain) UILabel *labelOfAuthor;
/** 最后发表时间 */
@property (nonatomic, retain) UILabel *labelOfDateline;
/** 地址 */
@property (nonatomic, retain) UILabel *labelOfAddress;
/** 关注按钮 */
@property (nonatomic, retain) UIButton *ButtonOfLike;
/** 内容简介 */
@property (nonatomic, retain) UILabel *labelOfMessage;
/** 装载标签的图层 */
@property (nonatomic, retain) UIView *viewOftag;
/** 标签个数 */
@property (nonatomic, retain) NSMutableArray *tagOfArr;
/** 回复图标 */
@property (nonatomic, retain) UIImageView *imageViewOfReplies;
/** 回复的数量 */
@property (nonatomic, retain) UILabel *labelOfReplies;
/** 喜爱的人 */
@property (nonatomic, retain) UILabel *labelOfRecommendtotal;
/** 喜欢的人的图标 */
@property (nonatomic, retain) UIImageView *imageViewOfLike;
/** 装图片的 */
@property (nonatomic, retain) UIView *viewOfpics;
/** 设置高度 */
@property (nonatomic, assign) CGFloat beginHeight;
/** 推荐图层高度 */
@property (nonatomic, retain) UIView *recomView;



- (void)passContentWithModel:(ModelOfContent *)model;

+ (CGFloat)returnCGSizeForModel:(ModelOfContent *)model;

- (void)setPicViewOfHeightWithModel:(ModelOfContent *)model ;


@end
